package com.zengqingfa.shardingjdbc.demo.entity;

import com.alibaba.fastjson.JSON;
import lombok.Data;
import lombok.ToString;

@Data
@ToString
public class Bill {

    private Long id;
    /**
     * 单据编码
     */
    private String billCode;


    /**
     * 来源单据编码
     */
    private String sourceBillCode;


    /**
     * 单据类型
     */
    private Integer type;


    /**
     * 租户编码
     */
    private String tenantCode;


    public Bill() {
    }


    @Override
    public String toString() {
        return JSON.toJSONStringWithDateFormat(this, JSON.DEFFAULT_DATE_FORMAT);
    }


}
